package com.gxsyh.nantie.user.management.provider.service.impl;

import com.gxsyh.nantie.user.management.provider.domain.TbRole;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.gxsyh.nantie.user.management.provider.mapper.TbRoleMapper;
import com.gxsyh.nantie.user.management.provider.service.TbRoleService;

import java.util.List;

/**
 * @email yom535@outlook.com
 * @author: 刘锋嘉(Liu Fengjia)
 * @date: 2020/1/16
 * @time: 11:46
 * @Description: 
 */
@Service
public class TbRoleServiceImpl implements TbRoleService{

    @Resource
    private TbRoleMapper tbRoleMapper;

    @Override
    public List<TbRole> getRoleInfo(Long userId) {
        return tbRoleMapper.getRoleInfo(userId);
    }
}
